class Sportsman {

    static constraints = {
    	nation(nullable:true, blank:false)
    	sport(nullable:true, blank:false)
    	name(blank:false)
    	sex(blank:false)
    	uid(nullable:true)
	     surname(nullable:true)
	     hotel(nullable:true)
	     category(nullable:true)
	     comeDateAt(nullable:true)
	     comeFlight(nullable:true)
	     comeAirport(nullable:true)
	     goDateAt(nullable:true)
	     goFlight(nullable:true)
	     goAirport(nullable:true)
	     note(nullable:true)
    }
    
    String uid
    String name
    String surname
    Sport sport
    Nation nation
    String hotel
    String sex
    String category
    Date comeDateAt = new Date(0)
    String comeFlight
    Airport comeAirport
    Date goDateAt = new Date(0)
    String goFlight
    Airport goAirport
    String note
    
    Date nAirportComeAt = new Date(0)
    Date predictNTrainComeAt = new Date(0)
    Date nTrainComeAt = new Date(0)
    Date predictSTrainComeAt = new Date(0)
    Date sTrainComeAt = new Date(0)
    Date predictCenterComeAt = new Date(0)
    Date centerComeAt = new Date(0)
    Date predictHotelComeAt = new Date(0)
    Date hotelComeAt = new Date(0)

    Date hotelGoAt = new Date(0)
    Date predictSAirportGoAt = new Date(0)
    Date sAirportGoAt = new Date(0)
    Date predictSTrainGoAt = new Date(0)
    Date sTrainGoAt = new Date(0)
    Date predictNTrainGoAt = new Date(0)
    Date nTrainGoAt = new Date(0)
    Date predictNAirportGoAt =new Date(0)
    Date nAirportGoAt = new Date(0)
    
    Boolean extra = false
}
